﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Migrator.Util;
using MigratorUI.UI;

namespace MigratorUI
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var form = new MigratorForm();

            try
            {
                Application.Run(form);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
                form.Close();
            }
        }
    }
}
